<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-content">
                <form class="form-horizontal m-t" id="signupForm">
                    <!--<input id="id" name="id" th:value="${warn.id}"-->
                    <!--type="hidden">-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">序号：</label>
                        <div class="col-sm-8">
                            <input id="id" name="id" class="form-control" type="text" readonly="readonly"
                                   th:value="${warn.id}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">报警方式名称：</label>
                        <div class="col-sm-8">
                            <input id="warnName" name="warnName" class="form-control" type="text" readonly="readonly"
                                   th:value="${warn.warnName}">
                        </div>
                    </div>
                    <!--<div class="form-group">-->
                    <!--<label class="col-sm-3 control-label">报警方式名称：</label>-->
                    <!--<div class="col-sm-8">-->
                    <!--<input id="deptId" name="deptId" class="hidden" th:value="${warn.warnName}">-->
                    <!--<input id="deptName" name="deptName"-->
                    <!--class="form-control" type="text" style="cursor: pointer;"-->
                    <!--onclick="openDept()" readonly="readonly" placeholder="所属部门" th:value="${warn.warnName}">-->
                    <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">接收人：</label>
                        <div class="col-sm-8">
                            <input id="receiver" name="receiver" class="form-control"
                                   th:value="${warn.receiver}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">报警内容：</label>
                        <div class="col-sm-8">
                            <input id="content" name="content" class="form-control" type="text"
                                   th:value="${warn.content}">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">状态:</label>
                        <div class="col-sm-8">
                            <label class="radio-inline"> <input
                                    th:field="*{warn.status}" type="radio" name="status" value="1"/>
                                开启
                            </label> <label class="radio-inline"> <input
                                th:field="*{warn.status}" type="radio" name="status" value="0"/>
                            关闭
                        </label>
                        </div>
                    </div>

                    <!--<input type="hidden" name="roleIds" id="roleIds"-->
                    <!--th:value="${warn.id}">-->
                    <!--<div class="form-group">-->
                    <!--<label class="col-sm-3 control-label">角色</label>-->
                    <!--<div class="col-sm-8">-->
                    <!--<label th:each="role:${roles}" class="checkbox-inline">-->
                    <!--<input name="role" type="checkbox" th:value="${warn.id}"-->
                    <!--th:text="${role.roleName}" th:checked="${warn.id}">-->
                    <!--</label>-->
                    <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <div class="col-sm-8 col-sm-offset-3">
                            <button type="submit" class="btn btn-primary">提交</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/sys/warn/edit.js">
</script>
</body>
</html>
